package org.dingyom.car.mapper;

import org.dingyom.car.domain.CarDetail;
import org.dingyom.basics.mapper.BaseMapper;

import java.io.Serializable;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author dingyom
 * @since 2022-09-08
 */
public interface CarDetailMapper extends BaseMapper<CarDetail> {

    CarDetail loadByCarId(Long carId);

    void removeByCarId(Serializable id);

    void addOrUpdate(CarDetail carDetail);
}
